package com.example.demo;

import com.example.demo.auto.dao.ABeDao;
import com.example.demo.auto.entity.ABe;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Optional;

@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(DemoApplication.class, args);

        ABeDao dao = context.getBean(ABeDao.class);

        Optional<ABe> a = dao.findById("a");



    }


}
